package com.pay.weixin.resp;

import java.util.Date;

import com.pay.weixin.req.BaseMessage;

/**
 * @Description: 图片消息
 * @see: NewsMessage 此处填写需要参考的类
 * @version 2016年9月19日 下午1:45:48
 * @author shulin.feng
 */
public class ImageMessage extends BaseMessage {
	private Image Image;

	public ImageMessage() {

	}

	public ImageMessage(String fromUserName, String toUserName, String mediaId) {
		this.setFromUserName(fromUserName);
		this.setToUserName(toUserName);
		this.setCreateTime(new Date().getTime());
		this.setMsgType(MessageUtil.RESP_MESSAGE_TYPE_IMAGE);
		this.Image = new Image(mediaId);
	}

	public Image getImage() {
		return Image;
	}

	public void setImage(Image image) {
		Image = image;
	}

}
